package L1;

import java.util.Scanner;

public class _004 {
	public static void main(String[] args) {
		Scanner reader=new Scanner(System.in);
		int temp=reader.nextInt();
		System.out.println("Celsius = "+5*(temp-32)/9);
		reader.close();
	}
}
